package com.dmyang.common.pojo;

import java.util.List;

/**
 * bootstrap-table要求返回的数据格式
 * Created by brss on 2017/8/2.
 */
public class BootstrapTableResult {

    private Integer total;

    private List<?> rows;

    public BootstrapTableResult(Integer total, List<?> rows) {
        this.total = total;
        this.rows = rows;
    }

    public BootstrapTableResult(long total, List<?> rows) {
        this.total = (int) total;
        this.rows = rows;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<?> getRows() {
        return rows;
    }

    public void setRows(List<?> rows) {
        this.rows = rows;
    }
}
